package com.yunwrite.playerlibrary.customplayer.playmanager;

import com.yunwrite.playerlibrary.customplayer.videolist.VideoInfo;

/**
 * @author liuping
 */
public interface VideoPlayObserver {
    /**
     * 设置了当前正在播放的节目
     * @param videoInfo
     */
    void onSetCurrent(VideoInfo videoInfo);

    /**
     * 设置了将要缓冲的下一首
     * @param videoInfo
     */
    void onSetNextVideoInfo(VideoInfo videoInfo);

    /**
     * 当前节目播放完毕
     * @param videoInfo
     */
    void onPlayComplet(VideoInfo videoInfo);
}
